projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67fe106
)
Adjust grep-mode end-col function return value
author
Mattias Engdegård
<mattiase@acm.org>
Mon, 26 Jul 2021 19:18:42 +0000
(21:18 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Mon, 26 Jul 2021 19:25:20 +0000
(21:25 +0200)
* lisp/progmodes/grep.el (grep-regexp-alist): Adjust the return value
from the END-COL function by one since it is now (after fixing
bug#49624) inclusive. Found by Juri Linkov.
lisp/progmodes/grep.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/grep.el
b/lisp/progmodes/grep.el
index 91c72a9429f32c112975bce9e9378a7b8b8f0572..8f0a5acf708e0eaa96a01695dfb72ea1d0dc871b 100644
(file)
--- a/
lisp/progmodes/grep.el
+++ b/
lisp/progmodes/grep.el
@@
-389,7
+389,7
@@
Notice that using \\[next-error] or \\[compile-goto-error] modifies
(and mbeg (next-single-property-change
mbeg 'font-lock-face nil end))))
(when mend
- (- mend beg))))))
+ (- mend beg
1
))))))
nil nil
(3 '(face nil display ":")))
("^Binary file \\(.+\\) matches" 1 nil nil 0 1))